package com.tjetc.house.domain;

//编号 房主 电话 地址 月租 状态(未出租/已出租)

/**
 * 房屋信息实体类
 */
public class House {
    private int id;
    private String name;
    private int phone;
    private String address;
    private int rent;
    // 未出租  已出租
    private String status;

    public House() {
    }

    public House(int id, String name, int phone, String address, int rent, String status) {
        this.id = id;
        this.name = name;
        this.phone = phone;
        this.address = address;
        this.rent = rent;
        this.status = status;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getPhone() {
        return phone;
    }

    public void setPhone(int phone) {
        this.phone = phone;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public int getRent() {
        return rent;
    }

    public void setRent(int rent) {
        this.rent = rent;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "House{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", phone=" + phone +
                ", address='" + address + '\'' +
                ", rent=" + rent +
                ", status='" + status + '\'' +
                '}';
    }
}
